#include <STC89C5xRC.H>
#include "delay.h"
#include "key.h"
#include "nixie.h"
#include "buzzer.h"


unsigned char keynum;


void main()
{
	while(1)
	{
		keynum = key();
		if(keynum)
		{
			nixie(1,keynum);
			buzzer_time(100);
		}
	}

}